#!/usr/bin/python
# Filename: mjs_db.py

import mongodb
import mysqldb
import logging

from mjs_public import singleton

class MjsDB(singleton.Singleton):

    def __init__(self):
        self.db_client = mysqldb.MjsMysqlDB()

    def query(self, sql):
        return self.db_client.query(sql)

    def execute(self, sql):
        return self.db_client.execute(sql)